<?php
	session_start();
	$_SESSION["logged"] = true;
	
//	unset($_SESSION["logged"]);
?>

<html>
<head>
    	<title>ICS SAIS</title>
        
<link href="design.css" rel="stylesheet" type="text/css" />
 
<script type="text/javascript">
	 var RecaptchaOptions = { theme : 'white' };
	
	function form_type_display() {
		if (document.getElementById('type').value == 'student') {
			var className = 'student_form';
		} else if(document.getElementById('type').value == 'faculty'){
			var className = 'faculty_form';
		} else if(document.getElementById('type').value == 'encoder'){
			var className = 'encoder_form'
		}
		
		<!--get elements by class-->
		<!--http://stackoverflow.com/questions/3808808/how-to-get-element-by-class-in-javascript-->
		var elems = document.getElementsByTagName('*'), i;
		for (i in elems) {
			if((' ' + elems[i].className + ' ').indexOf(' ' + className + ' ')
					> -1) {
				elems[i].style.display = 'table-row';
			}
		}
	}
	
	function disable_all_forms(){
		var elems = document.getElementsByTagName('*'), i;
		var form_names = new Array();
		form_names[0] = 'student_form';
		form_names[1] = 'faculty_form';
		form_names[2] = 'encoder_form';
		for (h in form_names){
			for (i in elems) {
				if((' ' + elems[i].className + ' ').indexOf(' ' + form_names[h] + ' ')
						> -1) {
					elems[i].style.display = 'none';
				}
			}
		}
	}
	
	
</script>       

</head>
    
<body>
   	<div id="cont">
        	<div id="header_slim">
            	<div id="header_main">
                	<div id="mhleft">
                    </div>
                    
                    <div id="mhcenter" ice:editable="*">
                    	<img src="ics_logo_blue.png" id="logo"/>
                      <div id="label_sais">
                        	<div id="border_label">	</div>
                        <div id="label"><p>Students'Academic
Information System</p></div>
                      </div>
                  </div>
                    
                    <div id="mhright">
                    </div>
                </div>
   
                <div id="bottomhead">
                	<div id="bhleft_slim">
                    </div>
                    <div id="menu_bar_slim">
                    	<!--menu -->
                        <div class="header_link">
                        	<a href="user.php?page=checklist"><h>Checklist</h></a>
                        </div>
                        <div class="header_link">
                        	<a href="user.php?page=advisers"><h>Advisers</h></a>
                        </div>
                        <div class="header_link">
                        	<a href="user.php?page=history"><h>Academic History</h></a>
                        </div>
                        <div class="header_link">
                        	<a href="user.php?page=cases"><h>University Cases</h></a>
                        </div>
                    </div>
                </div>
            </div>
      <div id="body">
      	<div id="body_border">	<!--light blue border-->
        </div>
        
      </div>
	</div>
</body>